package com.rzjm.exercise.module.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@Data
@TableName("pick_up_plan")
public class PickUpPlan implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	private Integer shopId;
	private BigDecimal lng;
	private BigDecimal lat;
	private Double distance;
	private String planNum;
	private String planName;
	private String planDate;
	private String matterIds;
	private String matterNames;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	private Integer state;
	private Integer carCount;
	private Integer regCount;
	@JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
	private Date planBeginTime;
	@JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
	private Date planEndTime;
	@TableField(exist = false)
	private String shopName;
	@TableField(exist = false)
	private List<PickUpPlanInfo> pickUpPlanInfoList;
}
